package com.neouton.crm.sales.mapper;

import com.neouton.crm.sales.entity.SalesAuditBackVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 巾凡
* @description 针对表【sales_audit_back(审批备份表)】的数据库操作Mapper
* @createDate 2023-02-27 11:01:32
* @Entity com.neouton.crm.sales.entity.SalesAuditBack
*/
@Mapper
public interface SalesAuditBackMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SalesAuditBackVO record);

    int insertBackInfo(@Param("id") Integer id, @Param("auditClass") Integer auditClass);

    int insertSelective(SalesAuditBackVO record);

    SalesAuditBackVO selectByPrimaryKey(Long id);

    SalesAuditBackVO queryHistoryAuditInfoByApprovalId(@Param("workId")Integer workId);

    int updateByPrimaryKeySelective(SalesAuditBackVO record);

    int updateByPrimaryKey(SalesAuditBackVO record);

}
